
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import tools from 'tools/tools.js'
import mixin from 'mixin/index.js'
import api from 'api/api.js'
Vue.config.productionTip = false
// 常用工具挂载原型
Vue.prototype.$tools = tools
// 接口请求统一
Vue.prototype.$api = api
// 混入代码
Vue.mixin(mixin)


App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif